import java.util.Scanner;

public class Example009 {
    public static void main(String[] args) {
        int grade =75;
        Scanner scl = new Scanner(System.in);
        grade =scl.nextInt();
        if (grade > 80){
            System.out.println("该成绩为优");
        }
        else if (grade > 70){
            System.out.println("该成绩为良");
        }
        else if (grade > 60){
            System.out.println("该成绩为中");
        }
        else{
            System.out.println("该成绩为差");
        }
    }
}
